﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UFIDA.U9.Cust.XH.PlugBE.Tool
{

    public class ResultData
    {

        /// <summary>
        /// 
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string errcode { get; set; }
        /// <summary>
        /// 0代表成功
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string msgShowType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string secrit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string errmsg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string spk { get; set; }

    }

    /// <summary>
    /// token对象
    /// </summary>
    public class AccessToken
    {
        /// <summary>
        /// 秘钥
        /// </summary>
        public string secrit { get; set; }
        /// <summary>
        /// 原始的java公钥
        /// </summary>
        public string spk { get; set; }

        /// <summary>
        /// .net的公钥（java格式的公钥转换为.net格式的公钥）
        /// </summary>
        public string netspk { get; set; }
        /// <summary>
        ///token
        /// </summary>
        public string access_token { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime expires_in { get; set; }
        /// <summary>
        /// 加密后的秘钥
        /// </summary>
        public string rsaSecret { get; set; }

    }

}
